ld a, [#1]
cp #2
jr nz, #3